package com.sh.data.engine.domain.dataasset.model.enums;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/19 12:46
 */
public enum ModelLevelEnum {

    ODS("ods", "ods", "数据仓库原始层", ""),
    DWD("dwd", "dwd", "数据仓库明细层", "事实表"),
    DWS("dws", "dws", "数据仓库汇总层", ""),
    ADS("ads", "ads", "数据仓库应用层", ""),
    DIM("dim", "dim", "维度表", "维度表"),
    TMP("tmp", "tmp", "临时数据层", ""),
    MD("md", "md", "主数据层", "");

    private String code;
    private String prefix;
    private String name;
    private String cdmName;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCdmName() {
        return cdmName;
    }

    public void setCdmName(String cdmName) {
        this.cdmName = cdmName;
    }

    private ModelLevelEnum(String code, String prefix, String name, String cdmName) {
        this.code = code;
        this.prefix = prefix;
        this.name = name;
        this.cdmName = cdmName;
    }
}
